/*
** my_put_nbr.c for my_put_nbr in /home/nadali_t//local/Projets/Unix/my_select/TP/ex1
** 
** Made by thomas nadalie
** Login   <nadali_t@epitech.net>
** 
** Started on  Thu Jan 12 16:35:13 2012 thomas nadalie
** Last update Mon Feb  6 16:24:32 2012 thomas nadalie
*/

#include	"my.h"

void	my_put_nbr(int nb)
{
  if (nb < 0)
    {
      my_putchar('-');
      nb = nb * -1;
    }
  if (nb > 9)
    my_put_nbr(nb/10);

  my_putchar((nb % 10) + 48);
}
